package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Department;
import com.atguigu.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA
 *
 * @Date: 2022/12/20 - 14:15
 * @Author: Hyoung
 * @Description:
 */
public interface DepartmentService {

    void save(Map<String, Object> paramMap);

    Page<Department> selectPage(int page, int limit, String hoscode);


    void remove(String hoscode, String depcode);

    List<DepartmentVo> findDeptTree(String hoscode);
}
